#include <jni.h>
#include <string>
#include <xlog.h>

extern "C" JNIEXPORT jstring JNICALL
Java_com_elite_anative_MainActivity_stringFromJNI(JNIEnv *env,jobject /* this */) {
    std::string hello = "Hello from C++";
    Log(ERROR, "-------");
    Log(INFO, "-------");
    Log(DEBUG, "-------");
    Log(VERBOSE, "-------");
    Log(WARN, "-------");
    return env->NewStringUTF(hello.c_str());
}